package de.tsajar.es;

import com.jme3.app.Application;
import com.jme3.app.state.AbstractAppState;
import com.jme3.app.state.AppStateManager;
import com.simsilica.es.EntityData;
import com.simsilica.es.base.DefaultEntityData;

/**
 *
 * @author Eike Foede
 */
public class EntityDataAppState extends AbstractAppState {

    private EntityData ed;

    public EntityDataAppState() {
        ed = new DefaultEntityData();
    }

    public EntityDataAppState(EntityData ed) {
        this.ed = ed;
    }

    @Override
    public void initialize(AppStateManager stateManager, Application app) {
        super.initialize(stateManager, app);
    }

    public EntityData getEd() {
        return ed;
    }

    @Override
    public void cleanup() {
        super.cleanup();
    }
}
